﻿using System;
using YSGetLatest.DataObjects;

namespace YSGetLatest.ViewModels
{
	/// <summary>
	/// View Model for FolderWindow
	/// </summary>
	internal class FolderWindowViewModel
	{
		#region Properties

		/// <summary>
		/// Gets the Folder.
		/// </summary>
		public Folder Folder
		{
			get;
			private set;
		}
		#endregion

		#region Constructor

		/// <summary>
		/// Initializes an new instance of the FolderWindowViewModel class.
		/// </summary>
		/// <param name="folder">Folder object.</param>
		public FolderWindowViewModel(Folder folder)
		{
			if (folder == null)
			{
				throw new ArgumentNullException("folder");
			}
			Folder = folder;
		}
		#endregion
	}
}
